package com.itheima.framework.utils;

/**
 * @author zzw
 * @date 2025/11/13
 * @description 字符串工具类
 */
public class StringUtils {

    private StringUtils() {

    }

    // userDao ==> setUserDao
    public static String getSetterMethodByFieldName(String fieldName) {
        return "set" + fieldName.substring(0, 1).toUpperCase() + fieldName.substring(1);
    }

}
